<?php
/**
 * Class that operate on table 'user'. Database Mysql.
 *
 * @author: http://phpdao.com
 * @date: 2013-05-22 22:17
 */
class UserMySqlExtDAO extends UserMySqlDAO{

	public function loaduser($user,$pass){
		$sql = 'SELECT * 
				FROM user 
				WHERE user = ? and pass = ?';
		$sqlQuery = new SqlQuery($sql);
		
		$sqlQuery->setString($user);
		$sqlQuery->setString($pass);
		
		return $this->getRow($sqlQuery);
	}
}
?>